package com.github.easyms.server.mapper.auth;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.easyms.common.entity.auth.Role;
import com.github.easyms.common.vo.EasymsPage;
import org.apache.ibatis.annotations.Param;

/**
 * 角色数据操作
 *
 * @author Leo.Liao
 * @date 2020-05-02 02:34:08
 */
public interface RoleMapper extends BaseMapper<Role> {

    /**
     * 分页查询
     * @param page
     * @param condition
     * @return
     */
    EasymsPage<Role> selectRolePage(@Param("page") EasymsPage page, @Param("condition") Role condition);

}
